package com.keiou.drink.response;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/11/2 0002.
 */

public class ProductListRes implements Serializable{


    /**
     * imgRootUrl : http://api.order.keiousoft.com
     * products : [{"attrList":[{"attrCode":"1","attrNameCn":"无糖","attrNameEn":"no","productId":"1"},{"attrCode":"2","attrNameCn":"半糖","attrNameEn":"half","productId":"1"},{"attrCode":"3","attrNameCn":"全糖","attrNameEn":"full","productId":"1"}],"createdBy":"系统管理员","createdDt":1489386581000,"deleted":"N","disPrice":null,"id":"1","mainPic":"/img/1.png","onoffsaleDt":1491527874000,"onsale":"Y","productCategory":"1","productName":"美式咖啡","productNameEn":"","productNo":"1","remark":"","sort":1,"standardPrice":10,"updatedBy":"","updatedDt":1508125649000},{"attrList":[],"createdBy":"系统管理员","createdDt":1490683165000,"deleted":"N","disPrice":null,"id":"2","mainPic":"/img/2.png","onoffsaleDt":1490683165000,"onsale":"Y","productCategory":"1","productName":"意式咖啡","productNameEn":"","productNo":"2","remark":"","sort":2,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1491531593000},{"attrList":[],"createdBy":"系统管理员","createdDt":1480052152000,"deleted":"N","disPrice":null,"id":"3","mainPic":"/img/3.png","onoffsaleDt":1491527874000,"onsale":"Y","productCategory":"1","productName":"拿铁","productNameEn":"","productNo":"3","remark":"","sort":3,"standardPrice":12,"updatedBy":"系统管理员","updatedDt":1486638719000},{"attrList":[],"createdBy":"系统管理员","createdDt":1490685054000,"deleted":"N","disPrice":null,"id":"4","mainPic":"/img/4.png","onoffsaleDt":1490685054000,"onsale":"Y","productCategory":"1","productName":"卡布奇诺","productNameEn":"","productNo":"4","remark":"","sort":4,"standardPrice":12,"updatedBy":"系统管理员","updatedDt":1491527889000},{"attrList":[],"createdBy":"系统管理员","createdDt":1490773957000,"deleted":"N","disPrice":null,"id":"5","mainPic":"/img/5.png","onoffsaleDt":1490773957000,"onsale":"Y","productCategory":"2","productName":"可可（热）","productNameEn":"","productNo":"5","remark":"","sort":5,"standardPrice":12,"updatedBy":"系统管理员","updatedDt":1490774041000},{"attrList":[],"createdBy":"系统管理员","createdDt":1480052254000,"deleted":"N","disPrice":null,"id":"6","mainPic":"/img/6.png","onoffsaleDt":1491527874000,"onsale":"Y","productCategory":"2","productName":"豆浆（热）","productNameEn":"","productNo":"6","remark":"","sort":6,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1486639039000},{"attrList":[],"createdBy":"系统管理员","createdDt":1490780955000,"deleted":"N","disPrice":null,"id":"7","mainPic":"/img/7.png","onoffsaleDt":1490780955000,"onsale":"Y","productCategory":"3","productName":"港式奶茶（热）","productNameEn":"","productNo":"7","remark":"","sort":7,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1490780962000},{"attrList":[],"createdBy":"系统管理员","createdDt":1489386248000,"deleted":"N","disPrice":null,"id":"8","mainPic":"/img/8.png","onoffsaleDt":1489386248000,"onsale":"Y","productCategory":"3","productName":"港式奶茶（冷）","productNameEn":"","productNo":"8","remark":"","sort":8,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1491527903000},{"attrList":[],"createdBy":"系统管理员","createdDt":1489386248000,"deleted":"N","disPrice":null,"id":"9","mainPic":"/img/9.png","onoffsaleDt":1489386248000,"onsale":"Y","productCategory":"3","productName":"橙汁（热）","productNameEn":"","productNo":"9","remark":"","sort":8,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1491527903000},{"attrList":[],"createdBy":"系统管理员","createdDt":1489386248000,"deleted":"N","disPrice":null,"id":"10","mainPic":"/img/10.png","onoffsaleDt":1489386248000,"onsale":"Y","productCategory":"3","productName":"橙汁（冷）","productNameEn":"","productNo":"10","remark":"","sort":8,"standardPrice":8,"updatedBy":"系统管理员","updatedDt":1491527903000}]
     */

    private String imgRootUrl;
    private List<ProductsBean> products;

    public String getImgRootUrl() {
        return imgRootUrl;
    }

    public void setImgRootUrl(String imgRootUrl) {
        this.imgRootUrl = imgRootUrl;
    }

    public List<ProductsBean> getProducts() {
        return products;
    }

    public void setProducts(List<ProductsBean> products) {
        this.products = products;
    }

    public static class ProductsBean implements Serializable{
        /**
         * attrList : [{"attrCode":"1","attrNameCn":"无糖","attrNameEn":"no","productId":"1"},{"attrCode":"2","attrNameCn":"半糖","attrNameEn":"half","productId":"1"},{"attrCode":"3","attrNameCn":"全糖","attrNameEn":"full","productId":"1"}]
         * createdBy : 系统管理员
         * createdDt : 1489386581000
         * deleted : N
         * disPrice : null
         * id : 1
         * mainPic : /img/1.png
         * onoffsaleDt : 1491527874000
         * onsale : Y
         * productCategory : 1
         * productName : 美式咖啡
         * productNameEn :
         * productNo : 1
         * remark :
         * sort : 1
         * standardPrice : 10
         * updatedBy :
         * updatedDt : 1508125649000
         */

        private String createdBy;
        private long createdDt;
        private String deleted;
        private String disPrice;
        private String id;
        private String mainPic;
        private long onoffsaleDt;
        private String onsale;
        private String productCategory;
        private String productName;
        private String productNameEn;
        private String productNo;
        private String remark;
        private int sort;
        private float standardPrice;
        private String updatedBy;
        private String temperature;
        private long updatedDt;
        private List<AttrListBean> attrList;

        public String getTemperature() {
            return temperature;
        }

        public void setTemperature(String temperature) {
            this.temperature = temperature;
        }

        public String getCreatedBy() {
            return createdBy;
        }

        public void setCreatedBy(String createdBy) {
            this.createdBy = createdBy;
        }

        public long getCreatedDt() {
            return createdDt;
        }

        public void setCreatedDt(long createdDt) {
            this.createdDt = createdDt;
        }

        public String getDeleted() {
            return deleted;
        }

        public void setDeleted(String deleted) {
            this.deleted = deleted;
        }

        public String getDisPrice() {
            return disPrice;
        }

        public void setDisPrice(String disPrice) {
            this.disPrice = disPrice;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMainPic() {
            return mainPic;
        }

        public void setMainPic(String mainPic) {
            this.mainPic = mainPic;
        }

        public long getOnoffsaleDt() {
            return onoffsaleDt;
        }

        public void setOnoffsaleDt(long onoffsaleDt) {
            this.onoffsaleDt = onoffsaleDt;
        }

        public String getOnsale() {
            return onsale;
        }

        public void setOnsale(String onsale) {
            this.onsale = onsale;
        }

        public String getProductCategory() {
            return productCategory;
        }

        public void setProductCategory(String productCategory) {
            this.productCategory = productCategory;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getProductNameEn() {
            return productNameEn;
        }

        public void setProductNameEn(String productNameEn) {
            this.productNameEn = productNameEn;
        }

        public String getProductNo() {
            return productNo;
        }

        public void setProductNo(String productNo) {
            this.productNo = productNo;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public float getStandardPrice() {
            return standardPrice;
        }

        public void setStandardPrice(float standardPrice) {
            this.standardPrice = standardPrice;
        }

        public String getUpdatedBy() {
            return updatedBy;
        }

        public void setUpdatedBy(String updatedBy) {
            this.updatedBy = updatedBy;
        }

        public long getUpdatedDt() {
            return updatedDt;
        }

        public void setUpdatedDt(long updatedDt) {
            this.updatedDt = updatedDt;
        }

        public List<AttrListBean> getAttrList() {
            return attrList;
        }

        public void setAttrList(List<AttrListBean> attrList) {
            this.attrList = attrList;
        }

        public static class AttrListBean implements Serializable{
            /**
             * attrCode : 1
             * attrNameCn : 无糖
             * attrNameEn : no
             * productId : 1
             */

            private String attrCode;
            private String attrNameCn;
            private String attrNameEn;
            private String productId;

            public String getAttrCode() {
                return attrCode;
            }

            public void setAttrCode(String attrCode) {
                this.attrCode = attrCode;
            }

            public String getAttrNameCn() {
                return attrNameCn;
            }

            public void setAttrNameCn(String attrNameCn) {
                this.attrNameCn = attrNameCn;
            }

            public String getAttrNameEn() {
                return attrNameEn;
            }

            public void setAttrNameEn(String attrNameEn) {
                this.attrNameEn = attrNameEn;
            }

            public String getProductId() {
                return productId;
            }

            public void setProductId(String productId) {
                this.productId = productId;
            }
        }
    }
}
